#ifndef RESOURCES_H_
#define RESOURCES_H_
#include "CommonDef.h"
#include <string>
using namespace std;

class Resources
{
private:
	ass2::eEnergy _type;
	int _amount;
	int _consumed;
	int _created;


public:
	Resources();
	Resources(ass2::eEnergy type);
	Resources(ass2::eEnergy type, int amount);
	void create(int amount);
	void consume (int amount);
	void sell (int amount);
	void buy (int amount);

	int getAmount ();
	int getConsumed ();
	int getCreated ();
	ass2::eEnergy getType ();

	virtual ~Resources();
};

#endif /*RESOURCES_H_*/
